export default {
	getMessageData(store, json){
		return new Promise((resolve, reject) => {
			store.dispatch("requestData", {
				path:"/message",
				data:json
			}).then(res => {
				resolve(res)
			}).catch(err => {
				reject(err)
			})
		})
	}
}